<p:dialog xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:t="http://myfaces.apache.org/tomahawk"
	xmlns:ap="http://aplikata.com/facelets"
	header="#{msgs.patient_qtnaire_edit}" widgetVar="qtnaireDialog"
	resizable="false" id="qtnaireD" width="650" showEffect="fade"
	hideEffect="explode" modal="true"
	closeListener="#{evokPatientQtnaireBean.resetQtnaire}"
	onCloseUpdate="displayQtnaire" height="600">
	<h:panelGrid id="displayPage" columns="1" width="100%"
		rendered="#{evokPatientQtnaireBean.patientQtnaire != null and evokPatientQtnaireBean.patientQtnaire.qtnaire.page != ''}">
		<f:facet name="header">
			<h:outputText
				value="#{evokPatientQtnaireBean.patientQtnaire.qtnaire.name}" style="float:left;"></h:outputText>
		</f:facet>
		<br />
		<ui:include
			src="/pages/aplikata/evok/doctor/qtnaire/basic_qtnaire.xhtml" />
	</h:panelGrid>
	<h:panelGrid id="displayNoPage" columns="1" width="100%"
		rendered="#{evokPatientQtnaireBean.patientQtnaire == null or evokPatientQtnaireBean.patientQtnaire.qtnaire.page == ''}">
		<h:outputText value="#{msgs.pateint_qtnaire_empty}"
			style="font-weight: bold; font-size: 1.6em;" />
	</h:panelGrid>
</p:dialog>